﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
      
        密码强度文本显示:<br />
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
          <ajaxToolkit:PasswordStrength ID="TextBox1_PasswordStrength" runat="server" HelpStatusLabelID="TextBox1_HelpLabel" PreferredPasswordLength="10" PrefixText="强度" TargetControlID="TextBox1" TextStrengthDescriptions="很差;弱;一般;好;非常好" />
        <br />
        <asp:Label ID="TextBox1_HelpLabel" runat="server" Text=""></asp:Label>
    </div>
    </form>
</body>
</html>
